/**
 *
 */
package com.example.demo2.resvo;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: ResponseVO
 * @Description: ResponseVO
 * @author thomas
 * @date Oct 9, 2019 4:02:49 PM
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ResponseVO<T> {

  /**
   * status code
   */
  private String code;

  /**
   * response msg
   */
  private String message;

  /**
   * data object
   */
  private T data;

  public ResponseVO(String code, String message, T data) {
    super();
    this.code = code;
    this.message = message;
    this.data = data;
  }

}
